/*
*
* bus配置
* */
// import api from '../../api/api'
import ajax from '../../utils/ajax/index'

const bus = {
  namespaced: true,
  state: {
  },
  mutations: {
  },
  actions: {
    uploadFiles ({state, commit}, obj) {
      ajax.postFile(obj.url, obj.params).then((res) => {
        obj.mes.success(res.msg.message)
      })
    }
  }
}

export default bus
